package org.aswing.tree;

extern class DefaultTreeModel implements TreeModel {
	function new(p0 : TreeNode, ?p1 : Bool) : Void;
	function addTreeModelListener(p0 : org.aswing.event.TreeModelListener) : Void;
	function asksAllowsChildren() : Bool;
	function getChild(p0 : Dynamic, p1 : Int) : Dynamic;
	function getChildCount(p0 : Dynamic) : Int;
	function getIndexOfChild(p0 : Dynamic, p1 : Dynamic) : Int;
	function getRoot() : Dynamic;
	function insertNodeInto(p0 : MutableTreeNode, p1 : MutableTreeNode, p2 : Int) : Void;
	function isLeaf(p0 : Dynamic) : Bool;
	function nodeChanged(p0 : TreeNode) : Void;
	function nodeStructureChanged(p0 : TreeNode) : Void;
	function nodesChanged(p0 : TreeNode, p1 : Array<Dynamic>) : Void;
	function nodesWereInserted(p0 : TreeNode, p1 : Array<Dynamic>) : Void;
	function nodesWereRemoved(p0 : TreeNode, p1 : Array<Dynamic>, p2 : Array<Dynamic>) : Void;
	function reload(?p0 : TreeNode) : Void;
	function removeNodeFromParent(p0 : MutableTreeNode) : Void;
	function removeTreeModelListener(p0 : org.aswing.event.TreeModelListener) : Void;
	function setAsksAllowsChildren(p0 : Bool) : Void;
	function setRoot(p0 : TreeNode) : Void;
	function toString() : String;
	function valueForPathChanged(p0 : TreePath, p1 : Dynamic) : Void;
}
